/*
** my_signal.c for tp minitalk in /home/deluxe/Projets_Epi/minitalk/TP
** 
** Made by Deluxe
** Login   <deluxe@epitech.net>
** 
** Started on  Mon Nov 12 16:04:59 2012 Deluxe
** Last update Mon Nov 12 16:14:47 2012 Deluxe
*/

#include <sys/types.h>
#include <signal.h>
#include <stdlib.h>

int		my_signal()
{
  pid_t		pid;
  int		status;

  while (42)
    {
      printf("mon pid est : %d\n", getpid(pid));
      wait(&status);
    }
}

int		main()
{
  my_signal();
}
